package cn.edu.ujn.lab3.service;

import cn.edu.ujn.lab3.entity.Customer;
import cn.edu.ujn.lab3.entity.Page;

import java.util.List;

public interface ICustomerService {
    List<Customer> findAll();

    List<Customer> selectByMobile(String mobile);

    List<Customer> selectCustomerByName(String name);

    List<Customer>selectCustomerByPage(Page page);

    Boolean addCustomer(Customer customer);

    Boolean updateCustomer(Customer customer);

    Boolean deleteCustomer(Integer id);
}
